<?
include_class('m2');

$bm = $args['member'];
$uo = $bm->getUserObject();
$firstName = $uo->getFirstName();
$lastName = $uo->getLastName();
$id = $bm->getID();
$role = $bm->getRole();

$url = (USE_MOD_REWRITE) ? SITE_WEB_DIRECTORY . '/member/' . $id . '/' : SITE_WEB_DIRECTORY . '/band.php?id=' . $id;
$photo = $bm->getMemberPhoto();
if (is_object($photo) && !db::isError($photo)) {
	$memberPhoto = $photo->printThumbnail();
}
?>